/*
 * Copyright [2011] [Ambud Sharma/ODep Monitor]

   Licensed under the Apache License, Version 2.0 (the "License");

   you may not use this file except in compliance with the License.

   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software

   distributed under the License is distributed on an "AS IS" BASIS,

   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

   See the License for the specific language governing permissions and

   limitations under the License.
 */
package edu.uwsp.orion.odepm.main.client;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Button;

public class NodeView extends Composite {

	public NodeView() {
		
		AbsolutePanel apNodeViewContainer = new AbsolutePanel();
		initWidget(apNodeViewContainer);
		apNodeViewContainer.setSize("582px", "132px");
		
		Label lblNodeAddress = new Label("Node Address:");
		apNodeViewContainer.add(lblNodeAddress, 10, 10);
		
		Label lblCoreCount = new Label("Core Count:");
		apNodeViewContainer.add(lblCoreCount, 10, 33);
		
		Button btnFullInfo = new Button("Monitor");
		apNodeViewContainer.add(btnFullInfo, 10, 96);
		
		AbsolutePanel absolutePanel = new AbsolutePanel();
		apNodeViewContainer.add(absolutePanel, 260, 10);
		absolutePanel.setSize("312px", "115px");
		
		Label lblDiskSpace = new Label("Disk Space:");
		apNodeViewContainer.add(lblDiskSpace, 10, 79);
		
		Label lblMemorySize = new Label("Memory Size:");
		apNodeViewContainer.add(lblMemorySize, 10, 56);
		
		Label label = new Label("192.168.142.122");
		apNodeViewContainer.add(label, 110, 10);
		
		Label label_1 = new Label("12");
		apNodeViewContainer.add(label_1, 110, 33);
		
		Label lblmb = new Label("300MB");
		apNodeViewContainer.add(lblmb, 110, 56);
		
		Label label_2 = new Label("1230");
		apNodeViewContainer.add(label_2, 110, 79);
	}
}
